
<template>
  <button @click=" emit('changeRoute', '1111')">2222</button>
</template>
<script setup>
import {defineEmits} from "vue";
const emit = defineEmits(['changeRoute'])
</script>